<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<!--基于框架引入的css-->
		<link href="../../libs/css/mui.min.css" rel="stylesheet" />

		<!--自定义样式引入-->
		<link href="../../css/common.css" rel="stylesheet" />
		<link href="../../css/my.css" rel="stylesheet" />
	</head>

	<body id="my-info">
		<div id="main">
			<header class="mui-bar mui-bar-nav" style="box-shadow: none;">
				<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
				<h1 class="mui-title">设置</h1>
			</header>
			<div class="mui-content">
				<div class="list-group">
					<ul class="mui-table-view">
						<li class="mui-table-view-cell" id="accBalance">
							<span data-lang="my_accountBalance">当前版本号</span>
							<div class="mui-pull-right">
								<span id="remainAmount">V1.0.0</span>
								<span class="mui-icon mui-icon-arrowright"></span>
							</div>
						</li>
						<li class="mui-table-view-cell" id="tradeInfo">
							<span>中英文切换</span>
							<div class="mui-pull-right">
								<span>中文</span>
								<span class="mui-icon mui-icon-arrowright"></span>
							</div>
						</li>
					</ul>
				</div>
				<div class="mui-content-padded" style="margin-top: 50px;">
					<button class="mui-btn mui-btn-block mui-btn-primary" @click="tcdl">退出登录</button>
				</div>
			</div>
		</div>
		</div>
		<script src="../../libs/js/mui.min.js"></script>
		<script src="../../libs/js/vue.min.js"></script>
		<script src="../../libs/js/jquery-3.2.1.min.js"></script>
		<script src="../../js/common.js"></script>
		<script>
			new Vue({
				el: '#main',
				data: {},
				methods: {
					plusReady: function() {
					},
					tcdl: function() {
						localStorage.clear();
						plus.webview.open("../../index.html")
					}
				},
				mounted: function() {
					if(window.plus) {
						this.plusReady();
					} else {
						document.addEventListener("plusready", this.plusReady, false);
					}
				}
			});
		</script>
	</body>

</html>